package com.example.demo.service;

import com.example.demo.modal.Pattern;

import java.util.List;

public interface PatternService {
    int deleteByPrimaryKey(Integer rpId);

    int insert(Pattern record);

    int updateByPrimaryKey(Pattern record);

    int save(Pattern pattern);

    int selectMaxId();

    List<Pattern> selectAll();

    List<Pattern> findByrpId(int rpId);

    List<Pattern> findByrpName(String rpName);

    List<Pattern> findByrpRequir(String rpRequir);

    List<Pattern> findByrpConclu(String rpConclu);

    List<Pattern> findByrpRelationship(String rpRelationship);

    List<Pattern> findByrpConditions(String rpConditions);
}
